import { Router } from 'express';
import * as Controller from '../api/controllers/project-declare.controller';

const router = Router();

router
  .route('/')
  .get(
    Controller.getProjectDeclares
  );

router
  .route('/:id')
  .get(
    Controller.getProjectDeclareById
  );

router
  .route('/')
  .post(
    Controller.addProjectDeclare
  );

router
  .route('/:id')
  .put(
    Controller.updateProjectDeclareById
  );

router
  .route('/:id')
  .delete(
    Controller.deleteProjectDeclareById
  );

export default router;